<template>
  <div>
    <slot name="header" :names="buttonName1">123</slot>
    <button>
        <slot>
        {{buttonName}}
        </slot>
    </button>
    <slot name="main"></slot>
    <slot name="footer"></slot>
  </div>
</template>

<script>
export default {
  name: '',
  props: {
    name:{
        type:String
    }
  },
  components: {},
  data () {
    return {
        buttonName:'狗东西',
        buttonName1:'狗东西1',

    }
  },
  created () {

  },
  methods: {

  }
}
</script>

<style lang="less" scoped>

</style>
